<!DOCTYPE html>
<html>
<head>
  <style>
    #vis.vega-embed {
      width: 100%;
      display: flex;
    }

    #vis.vega-embed details,
    #vis.vega-embed details summary {
      position: relative;
    }
  </style>
  <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/vega@5"></script>
  <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/vega-lite@5.15.1"></script>
  <script type="text/javascript" src="https://cdn.jsdelivr.net/npm/vega-embed@6"></script>
</head>
<body>
  <div id="vis"></div>
  <script>
    (function(vegaEmbed) {
      var spec = {"config": {"view": {"continuousWidth": 300, "continuousHeight": 300, "strokeWidth": 0}}, "hconcat": [{"layer": [{"mark": {"type": "bar", "color": "#c01e95", "size": 20}, "encoding": {"x": {"axis": null, "field": "Pizza", "sort": "descending", "title": "", "type": "quantitative"}, "y": {"axis": null, "field": "Month", "sort": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], "type": "nominal"}}, "title": "Pizza"}, {"mark": {"type": "text", "align": "right", "baseline": "middle", "color": "#c01e95", "dx": -10}, "encoding": {"text": {"field": "Pizza", "type": "nominal"}, "x": {"axis": null, "field": "Pizza", "sort": "descending", "title": "", "type": "quantitative"}, "y": {"axis": null, "field": "Month", "sort": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], "type": "nominal"}}}], "height": 300, "width": 300}, {"mark": {"type": "text", "color": "#000000", "size": 15}, "encoding": {"text": {"field": "Month", "type": "nominal"}, "y": {"axis": null, "field": "Month", "sort": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], "type": "nominal"}}, "height": 300, "title": "Number of orders in 2023", "width": 80}, {"layer": [{"mark": {"type": "bar", "color": "#81c01e", "size": 20}, "encoding": {"x": {"axis": null, "field": "Spaghetti", "title": "", "type": "quantitative"}, "y": {"axis": null, "field": "Month", "sort": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], "type": "nominal"}}, "title": "Spaghetti"}, {"mark": {"type": "text", "align": "left", "baseline": "middle", "color": "#81c01e", "dx": 10}, "encoding": {"text": {"field": "Spaghetti", "type": "quantitative"}, "x": {"axis": null, "field": "Spaghetti", "title": "", "type": "quantitative"}, "y": {"axis": null, "field": "Month", "sort": ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"], "type": "nominal"}}}], "height": 300, "width": 300}], "data": {"name": "data-a9c659beecfa13fc87ff5dcfa96a0919"}, "$schema": "https://vega.github.io/schema/vega-lite/v5.15.1.json", "datasets": {"data-a9c659beecfa13fc87ff5dcfa96a0919": [{"Month": "January", "Pizza": 200, "Spaghetti": 18}, {"Month": "February", "Pizza": 220, "Spaghetti": 19}, {"Month": "March", "Pizza": 240, "Spaghetti": 10}, {"Month": "April", "Pizza": 230, "Spaghetti": 20}, {"Month": "May", "Pizza": 250, "Spaghetti": 20}, {"Month": "June", "Pizza": 280, "Spaghetti": 40}, {"Month": "July", "Pizza": 300, "Spaghetti": 60}, {"Month": "August", "Pizza": 320, "Spaghetti": 80}, {"Month": "September", "Pizza": 310, "Spaghetti": 70}, {"Month": "October", "Pizza": 290, "Spaghetti": 50}, {"Month": "November", "Pizza": 270, "Spaghetti": 30}, {"Month": "December", "Pizza": 240, "Spaghetti": 20}]}};
      var embedOpt = {"mode": "vega-lite"};

      function showError(el, error){
          el.innerHTML = ('<div style="color:red;">'
                          + '<p>JavaScript Error: ' + error.message + '</p>'
                          + "<p>This usually means there's a typo in your chart specification. "
                          + "See the javascript console for the full traceback.</p>"
                          + '</div>');
          throw error;
      }
      const el = document.getElementById('vis');
      vegaEmbed("#vis", spec, embedOpt)
        .catch(error => showError(el, error));
    })(vegaEmbed);

  </script>
</body>
</html>